package com.jgp.glmeeting.service;

import com.jgp.glmeeting.model.MeetingParticipantsRelation;

import java.util.List;

public interface MeetingParticipantsRelationService {

    /**
     *添加关系表
     */
    void addMeetingParticipantsRelation(MeetingParticipantsRelation r);
    /**
     *     根据会议的ID查所有参加该会议的人
     */
    List<MeetingParticipantsRelation> queryUsersIDs(String meetingID);

    /**
     * 根据会议ID删除
     */
    long deleteByMeetingId(String meetingId);

    /**
     * 根据关系表id删除
     */
    void removeById(String id);

    /**
     *     查某个relationTable
     */
    List<MeetingParticipantsRelation> queryMeetingParticipantsRelation(String participantsId,String meetingID);
}
